package com.biomatch.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "dc_student_subcard")
public class StudentSubCard {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "studentId")
    private String studentId;

    @TableField(value = "studentName")
    private String studentName;

    @TableField(value = "studentRealAge")
    private String studentRealAge;

    @TableField(value = "studentDancerAge")
    private String studentDancerAge;

    @TableField(value = "studentPhone")
    private String studentPhone;

    @TableField(value = "studentWechat")
    private String studentWechat;

    @TableField(value = "studentSex")
    private String studentSex;

    @TableField(value = "studentMoney")
    private Integer studentMoney;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "updateTime")
    private Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "creatTime")
    private Date creatTime;

}
